package com.daqian.chance.elastic.search.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@Data
@Component
@ConfigurationProperties(prefix = "chance.elasticsearch")
public class ElasticSearchProperties {
    private String username;
    private String password;
    private String host;
    private Integer port;

    private String clusterName;
    private String clusterNodes;
}
